package com.pro.entity;

import lombok.Data;

import java.util.Objects;

/**
 * @ClassName OrderQuantity
 * @Author 谭金诚
 * @Date 2021/11/14
 */
@Data
public class OrderQuantity {
    private Integer noPayment;//未付款订单数量
    private Integer havePayment;//已付款订单数量
    private Integer noSendGoods;//待发货订单数量
    private Integer haveSendGoods;//已发货订单数量
    private Integer haveSignFor;//已签收订单数量
    private Integer returnRequest;//退货申请订单数量
    private Integer returning;//退货中订单数量
    private Integer haveReturn;//已退货订单数量
    private Integer cancelTransaction;//取消交易订单数量

    private Integer videoNoNums;//待审核视频
    private Integer commodityNoNums;//待审核商品
    private Integer microCircleNoNums;//待审核微圈

    public OrderQuantity() {
    }

    public OrderQuantity(Integer noPayment, Integer havePayment, Integer noSendGoods, Integer haveSendGoods, Integer haveSignFor, Integer returnRequest, Integer returning, Integer haveReturn, Integer cancelTransaction) {
        this.noPayment = noPayment;
        this.havePayment = havePayment;
        this.noSendGoods = noSendGoods;
        this.haveSendGoods = haveSendGoods;
        this.haveSignFor = haveSignFor;
        this.returnRequest = returnRequest;
        this.returning = returning;
        this.haveReturn = haveReturn;
        this.cancelTransaction = cancelTransaction;
    }

    public Integer getNoPayment() {
        return noPayment;
    }

    public void setNoPayment(Integer noPayment) {
        this.noPayment = noPayment;
    }

    public Integer getHavePayment() {
        return havePayment;
    }

    public void setHavePayment(Integer havePayment) {
        this.havePayment = havePayment;
    }

    public Integer getNoSendGoods() {
        return noSendGoods;
    }

    public void setNoSendGoods(Integer noSendGoods) {
        this.noSendGoods = noSendGoods;
    }

    public Integer getHaveSendGoods() {
        return haveSendGoods;
    }

    public void setHaveSendGoods(Integer haveSendGoods) {
        this.haveSendGoods = haveSendGoods;
    }

    public Integer getHaveSignFor() {
        return haveSignFor;
    }

    public void setHaveSignFor(Integer haveSignFor) {
        this.haveSignFor = haveSignFor;
    }

    public Integer getReturnRequest() {
        return returnRequest;
    }

    public void setReturnRequest(Integer returnRequest) {
        this.returnRequest = returnRequest;
    }

    public Integer getReturning() {
        return returning;
    }

    public void setReturning(Integer returning) {
        this.returning = returning;
    }

    public Integer getHaveReturn() {
        return haveReturn;
    }

    public void setHaveReturn(Integer haveReturn) {
        this.haveReturn = haveReturn;
    }

    public Integer getCancelTransaction() {
        return cancelTransaction;
    }

    public void setCancelTransaction(Integer cancelTransaction) {
        this.cancelTransaction = cancelTransaction;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        OrderQuantity that = (OrderQuantity) o;
        return Objects.equals(noPayment, that.noPayment) &&
                Objects.equals(havePayment, that.havePayment) &&
                Objects.equals(noSendGoods, that.noSendGoods) &&
                Objects.equals(haveSendGoods, that.haveSendGoods) &&
                Objects.equals(haveSignFor, that.haveSignFor) &&
                Objects.equals(returnRequest, that.returnRequest) &&
                Objects.equals(returning, that.returning) &&
                Objects.equals(haveReturn, that.haveReturn) &&
                Objects.equals(cancelTransaction, that.cancelTransaction);
    }

    @Override
    public int hashCode() {
        return Objects.hash(noPayment, havePayment, noSendGoods, haveSendGoods, haveSignFor, returnRequest, returning, haveReturn, cancelTransaction);
    }

}
